package com.dw.etl.core.bean.model;

import java.io.Serializable;
import java.util.Date;

public class EtlLogHandbatch implements Serializable {

	private static final long serialVersionUID = 1L;

	private String idHandbatch;

	private String na;

	private Date dtBegin;

	private Date dtEnd;

	private Long times;

	private String desTimes;

	private Integer numDay;

	private Integer numDayFinish;

	private String param;

	private String status;

	public String getIdHandbatch() {
	    return idHandbatch;
	}

	public void setIdHandbatch(String idHandbatch) {
	    this.idHandbatch = idHandbatch;
	}

	public String getNa() {
	    return na;
	}

	public void setNa(String na) {
	    this.na = na;
	}

	public Date getDtBegin() {
	    return dtBegin;
	}

	public void setDtBegin(Date dtBegin) {
	    this.dtBegin = dtBegin;
	}

	public Date getDtEnd() {
	    return dtEnd;
	}

	public void setDtEnd(Date dtEnd) {
	    this.dtEnd = dtEnd;
	}

	public Long getTimes() {
		return times;
	}

	public void setTimes(Long times) {
		this.times = times;
	}

	public String getDesTimes() {
	    return desTimes;
	}

	public void setDesTimes(String desTimes) {
	    this.desTimes = desTimes;
	}

	public Integer getNumDay() {
	    return numDay;
	}

	public void setNumDay(Integer numDay) {
	    this.numDay = numDay;
	}

	public Integer getNumDayFinish() {
	    return numDayFinish;
	}

	public void setNumDayFinish(Integer numDayFinish) {
	    this.numDayFinish = numDayFinish;
	}

	public String getParam() {
	    return param;
	}

	public void setParam(String param) {
	    this.param = param;
	}

	public String getStatus() {
	    return status;
	}

	public void setStatus(String status) {
	    this.status = status;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    EtlLogHandbatch other = (EtlLogHandbatch) that;
	    return (this.getIdHandbatch() == null ? other.getIdHandbatch() == null : this.getIdHandbatch().equals(other.getIdHandbatch())) && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa())) && (this.getDtBegin() == null ? other.getDtBegin() == null : this.getDtBegin().equals(other.getDtBegin())) && (this.getDtEnd() == null ? other.getDtEnd() == null : this.getDtEnd().equals(other.getDtEnd())) && (this.getTimes() == null ? other.getTimes() == null : this.getTimes().equals(other.getTimes())) && (this.getDesTimes() == null ? other.getDesTimes() == null : this.getDesTimes().equals(other.getDesTimes())) && (this.getNumDay() == null ? other.getNumDay() == null : this.getNumDay().equals(other.getNumDay())) && (this.getNumDayFinish() == null ? other.getNumDayFinish() == null : this.getNumDayFinish().equals(other.getNumDayFinish())) && (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdHandbatch() == null) ? 0 : getIdHandbatch().hashCode());
	    result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
	    result = prime * result + ((getDtBegin() == null) ? 0 : getDtBegin().hashCode());
	    result = prime * result + ((getDtEnd() == null) ? 0 : getDtEnd().hashCode());
	    result = prime * result + ((getTimes() == null) ? 0 : getTimes().hashCode());
	    result = prime * result + ((getDesTimes() == null) ? 0 : getDesTimes().hashCode());
	    result = prime * result + ((getNumDay() == null) ? 0 : getNumDay().hashCode());
	    result = prime * result + ((getNumDayFinish() == null) ? 0 : getNumDayFinish().hashCode());
	    result = prime * result + ((getParam() == null) ? 0 : getParam().hashCode());
	    result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idHandbatch=").append(idHandbatch);
	    sb.append(", na=").append(na);
	    sb.append(", dtBegin=").append(dtBegin);
	    sb.append(", dtEnd=").append(dtEnd);
	    sb.append(", times=").append(times);
	    sb.append(", desTimes=").append(desTimes);
	    sb.append(", numDay=").append(numDay);
	    sb.append(", numDayFinish=").append(numDayFinish);
	    sb.append(", param=").append(param);
	    sb.append(", status=").append(status);
	    sb.append("]");
	    return sb.toString();
	}


}